package com.sunpy.niohttp.model;

public class ParamInfo {

    /**
     * 方法参数类型
     */
    private Class<?> clazz;

    /**
     * 方法参数类型名称
     */
    private String clazzName;

    /**
     * 方法参数是否有注解
     */
    private boolean annotationFlag = false;

    /**
     * 方法参数的注解信息
     */
    private AnnotationInfo annotationInfo;

    public Class<?> getClazz() {
        return clazz;
    }

    public void setClazz(Class<?> clazz) {
        this.clazz = clazz;
    }

    public boolean isAnnotationFlag() {
        return annotationFlag;
    }

    public void setAnnotationFlag(boolean annotationFlag) {
        this.annotationFlag = annotationFlag;
    }

    public AnnotationInfo getAnnotationInfo() {
        return annotationInfo;
    }

    public void setAnnotationInfo(AnnotationInfo annotationInfo) {
        this.annotationInfo = annotationInfo;
    }

    public String getClazzName() {
        return clazzName;
    }

    public void setClazzName(String clazzName) {
        this.clazzName = clazzName;
    }

    @Override
    public String toString() {
        return "ParamInfo{" +
                "clazz=" + clazz +
                ", clazzName='" + clazzName + '\'' +
                ", annotationFlag=" + annotationFlag +
                ", annotationInfo=" + annotationInfo +
                '}';
    }
}
